package com.yungu.swift.assets.passenger.dao;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.yungu.swift.assets.passenger.model.dto.PassengerMessageDto;
import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.mapper.IMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Copyright © 厦门云谷信息科技有限公司 2018-2020 All Right Reserved
 * <p>
 * 乘客消息Mapper
 *
 * @version 1.1.0-SNAPSHOT
 */
@Mapper
public interface PassengerMessageMapper extends IMapper<PassengerMessageDto> {
    /**
     * 获取乘客消息主键
     *
     * @param params Map
     * @return List
     */
    List<String> getUuids(Map<String, Object> params);


    /**
     * 查询乘客消息
     *
     * @param param      Map
     * @param pageBounds PageBounds
     * @return List
     */
    List<PassengerMessageDto> queryPasMsg(Map<String, Object> param, PageBounds pageBounds);
}